﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using geoCRM_Domain.Value_Classes;
using System.Runtime.Serialization;

namespace geoCRM_Domain
{
    [DataContract]
    public class Contact
    {
        [DataMember]
        public int? ID { get; set; }
        [DataMember]
        public String Title { get; set; }
        [DataMember]
        public String Firstname { get; set; }
        [DataMember]
        public String Lastname { get; set; }
        [DataMember]
        public Lookup ContactType { get; set; }
        [DataMember]
        public IList<Address> Addresses { get; set; }
        [DataMember]
        public IList<Phone> Phones { get; set; }

        public static IList<Contact> GetContacts(int pageindex, int pagesize)
        {
            throw new NotImplementedException();
        }
    }
}
